package comm

import "hash/fnv"

func FnvHash(b []byte) uint64 {
	fnvHash := fnv.New64a()
	fnvHash.Write(b)
	return fnvHash.Sum64()
}
